var http = require('http')
var fs = require('fs')
http.createServer(function (resquest, response) {
    if (resquest.url !== '/favicon.ico') {
        response.writeHead(200, {'Content-Type':'text/html;charset=UTF-8'})
        if (resquest.url !== '/favicon.ico') {
            let data = '我是文件系统！'
            fs.writeFileSync('add.txt', data)
            response.end()
        }
    }
}).listen(520)